<%def name="submit_line(values)">
<div class="submit-row" 
% if is_popup:
style="overflow: auto;"
% endif
>

% if values.get('show_save',False):
<input type="submit" value="${trans('Save')}" class="default" name="_save" ${values['onclick_attrib']}/>
% endif

% if values.get('show_delete_link',False):
<p class="deletelink-box"><a href="delete/" class="deletelink">${trans("Delete")}</a></p>
% endif

% if values.get('show_save_as_new',False):
<input type="submit" value="${trans('Save as new')}" name="_saveasnew" ${values['onclick_attrib']}/>
% endif

% if values.get('show_save_and_add_another',False):
<input type="submit" value="${trans('Save and add another')}" name="_addanother" ${values['onclick_attrib']} />
% endif

% if values.get('show_save_and_continue',False):
<input type="submit" value="${trans('Save and continue editing')}" name="_continue" ${values['onclick_attrib']}/>
% endif

</div>
</%def>
